﻿<UserControl x:Class="SilverTileApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:st="clr-namespace:SilverTile.Xaml;assembly=SilverTile"
             xmlns:g="clr-namespace:SilverTileApp"
    mc:Ignorable="d" KeyDown="UserControl_KeyDown" KeyUp="UserControl_KeyUp" Width="640">
    <Grid x:Name="LayoutRoot" Background="Black">
        <StackPanel>
            <g:GameImplementation x:Name="Game" Width="640" Height="350" />
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="Monsters killed: " Foreground="White" />
                <TextBlock x:Name="NumKilled" Text="{Binding ElementName=Game, Path=NumKilled}" Foreground="White" />
            </StackPanel>
        </StackPanel>
    </Grid>
</UserControl>
